package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 站点详情表
 */
@ApiModel(description = "站点详情表")
@Data
@TableName(value = "spr_site_info")
public class SprSiteInfo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 站点id
     */
    @TableField(value = "site_id")
    @ApiModelProperty(value = "站点id")
    private String siteId;

    /**
     * 站点地址
     */
    @TableField(value = "site_address")
    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    /**
     * 站点名称
     */
    @TableField(value = "site_name")
    @ApiModelProperty(value = "站点名称")
    private String siteName;

    /**
     * 站点坐标(省)
     */
    @TableField(value = "situated_province")
    @ApiModelProperty(value = "站点坐标(省)")
    private String situatedProvince;

    /**
     * 站点坐标(市)
     */
    @TableField(value = "situated_city")
    @ApiModelProperty(value = "站点坐标(市)")
    private String situatedCity;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    /**
     * 站点状态 '正常', '维修', '关闭'
     */
    @TableField(value = "site_status")
    @ApiModelProperty(value = "站点状态 '正常', '维修', '关闭'")
    private String siteStatus;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}